package tech.aistar.design.factory.version05;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2022/7/25 2:58 下午
 */
public class ProductFactoryTest {
    public static void main(String[] args) {
        XiaoMiProduct mi = new XiaoMiProduct();

        //对于外部(客户端)而言,不知道内部到底是怎么样构造的.
        Sender sender = mi.createSender();
        sender.send();
        Call call = mi.createCall();
        call.call();
    }
}
